<div class="counter">
    <div>
        <span>数量：</span>
        <span data-bind="text:num"></span>
    </div>
    <div>
        <input type="button" value="+1" data-bind="click:handClickUp">
    </div>
</div>